GrapeCity MultiRow Windows Forms Documentation
AddRange(Object[]) Method


One or more objects that represent items for the drop-down list. -or- An System.Array of System.Object values.
Adds one or more items to the list of items for a ListLabelCell.
Syntax
Public Overloads Sub AddRange( _
   ByVal ParamArray items() As Object _
) 
Dim instance As ListLabelCell.ObjectCollection
Dim items() As Object
 
instance.AddRange(items)
public void AddRange( 
   params object[] items
)

Parameters

items
One or more objects that represent items for the drop-down list. -or- An System.Array of System.Object values.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionThe cell's ListCell.DataSource property value is not a null reference (Nothing in Visual Basic).
System.ArgumentExceptionOne of the items in the items array is a null reference (Nothing in Visual Basic).
System.ArgumentNullExceptionThe items parameter is a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListLabelCell.ObjectCollection Class
ListLabelCell.ObjectCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.